package com.nuoniu.sibanyun.service.production;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.production.ErpWorkProcedureCardMain;

/**
 * <p>
 * 工序汇报——主表 服务类
 * </p>
 *
 * @author 白强
 * @since 2022-01-24
 */
public interface IErpWorkProcedureCardMainService extends IService<ErpWorkProcedureCardMain> {

    /**
     * 保存工序汇报
     * @param erpWorkProcedureCardMain
     */
    void saveOrder(ErpWorkProcedureCardMain erpWorkProcedureCardMain);

    /**
     * 获取 编码
     * @return
     */
    String getCode();


    /**
     * 删除单据
     */
    void delete(Long id);

    /**
     * @title 提交 单据
     * @description
     * @author 白强
     * @throws
     */
    void submit(Long id, Integer status);

    /**
     * 审核
     */
    void examine(Long id, Integer status);

}
